package com.cd.javacxy.module.web.dao;

import com.cd.javacxy.common.model.entity.CxyExamDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * CxyExamDetail的Dao接口
 *
 * @author yanghy
 */
public interface CxyExamDetailDao {

    int insertBatch(@Param("list") List<CxyExamDetail> examDetails);

    List<CxyExamDetail> selectListWithRightAnswer(@Param("examId") Integer examId);

    int delete(@Param("examId") Integer examId);

    List<CxyExamDetail> selectList(@Param("examId") Integer id);
}